package com.mapper;

import com.entity.Auction;
import com.entity.Commodity;
import com.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AuctionMapper{

    List<Auction> queryAuctionLog(@Param("commName") String commName);

    Commodity queryCommName(@Param("commId") String commId);

    UserInfo queryUserInfo(@Param("userId") String userId);

    Integer insertAuctionBid(Auction auction);
}
